package com.eshore.norm.service;

import com.eshore.norm.pojo.dto.NormVm;
import com.baomidou.mybatisplus.extension.service.IService;
import com.eshore.norm.pojo.po.NormServersDetailPO;
import com.eshore.norm.pojo.vo.norm_vm.NormVmPerformanceVO;

import java.util.List;

/**
 * <p>
 * 单台云主机详情 服务类
 * </p>
 *
 * @author chenjl
 * @since 2024-01-05
 */
public interface INormVmService extends IService<NormVm> {
    void dataImport(NormServersDetailPO po);

    /**
     * 虚机实时监控
     * @param vmId
     * @return
     */
    NormVmPerformanceVO fechVmPerformance(String vmId);


    /**
     * 根据资源池id获取虚机uuid集合
     * @param configId
     * @return
     */
    List<String> getUuidListByConfigId(Long configId);
}
